package com.library.book.entity;

public class Bookentity {
    private Integer id;

    private String name;

    private String author;

    private String publish;

    private Double price;

    private Date publishDate;

    private Integer status;

    public Integer getId() {return id;}

    public void setId(Integer id) {this.id = id;}

    public String getName() {return name;}

    public void setName(String name) {this.name = name == null ? null : name.trim();}

    public String getAuthor() {return author;}

    public void setAuthor(String author) {this.author = author == null ? null : author.trim();}

    public String getPublish() {return publish;}

    public void setPublish(String publish) {this.publish = publish == null ? null : publish.trim();}

    public Double getPrice() {return price;}

    public void setPrice(Double price) {this.price = price;}

    public Integer getStatus() { return status;}

    public void setStatus(Integer status) {this.status = status;}
}
